package com.example.apigateway.service;

import com.example.apigateway.common.RestResponse;
import com.example.apigateway.dao.UserDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author ：Anitaxiaofeng
 * @description：
 * @create 2018-06-04
 **/
@Service
public class UserService {

    @Autowired
    private UserDao userDao;

    public String getusername(Long id) {
        return userDao.getusername(id);
    }
}






